<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="keywords" content="TurBlog">
<meta name="description" content="TurBlog" >
<title>TurBlog-信息设置</title>
<link href="/include/css/admin.css" rel="stylesheet" type="text/css">
<script>
function doSave()
{
if(doCheck())
{
//if(EditForm.cid.value!="")EditForm.parameter.value="update";
EditForm.submit();
}
}

function doCheck()
{
if(EditForm.title.value=="")
{
alert("栏目标题不能为空！");
EditForm.title.focus();
return false;
}

return true;
}
function changeDetailSetting()
{
	detailSetting.style.display=(detailSetting.style.display=="none"?"":"none");
}
</script>
</head>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="8" class="cn_12px">
  <tr>
    <td><strong>博客信息设置</strong><br/></td>
    <td><div align="right"></div></td>
  </tr>
</table>
<form name="EditForm" method="post" action="blogUser.do">
 <input type="hidden" name="parameter" value="saveSetting">  
 <input type="hidden" name="cid" value="$!cid">	
  <table width="99%" border="1" align="center">
    <tr>
      <td width="30%" align="right"> 用户名</td>
      <td>$!username
          <font color="red">*</font></td>
    </tr>
    <tr>
      <td width="30%" align="right"> 昵称 </td>
      <td><input name="username" type="text" id="username" value="$!username">
          <font color="red">*</font></td>
    </tr>
    <tr>
      <td width="30%" align="right"> Blog主题 </td>
      <td><input name="title" type="text" id="title" value="$!title">
          <font color="red">*</font></td>
    </tr>
    <tr>
      <td width="30%" align="right"> 子标题 </td>
      <td><input name="subtitle" type="text" id="subtitle" value="$!subtitle">
          <font color="red">*</font></td>
    </tr>
	 <tr>
      <td width="30%" align="right"> Blog类别 </td>
      <td><input name="types" type="text" id="types" value="$!types">
          <font color="red">*</font></td>
    </tr>
	 <tr>
      <td width="30%" align="right"> 域名</td>
      <td><input name="domain" type="text" id="domain" value="$!domain">
        <font color="red">*</font>英文字母及数字</td>
    </tr>
    <tr>
      <td width="30%" align="right"> 标志图片</td>
      <td><input name="tagImg" type="text" id="tagImg" value="$!tagImg">
          <font color="red">*</font></td>
    </tr>
	  <tr>
      <td width="30%" align="right"> email</td>
      <td><input name="email" type="text" id="email" value="$!email">
          <font color="red">*</font></td>
    </tr>
    <tr>
      <td width="30%" align="right"> 回复Email</td>
      <td><input name="replyEmail" type="text" id="replyEmail" value="$!replyEmail">
          <font color="red">*</font></td>
    </tr>
    <tr>
      <td width="30%" align="right"> 简介</td>
      <td>          <font color="red">
      <textarea name="intro" rows="3" id="intro" style="width:80% ">$!intro</textarea>
          *</font></td>
    </tr>
	  <tr>
          <td colspan="2"><a href="javascript:void(0)" onClick="changeDetailSetting()">详细设置属性设置&gt;&gt;</a></td>
        </tr>
	  <tr align="left">
      <td colspan="2"><table width="100%" border="1" id="detailSetting" style="display:none">
      
       
   
    <tr>
      <td width="30%" align="right"> 网页meta描述</td>
      <td><input name="metaDescription" type="text" id="metaDescription" value="$!metaDescription">
          <font color="red">*</font></td>
    </tr>
    <tr>
      <td width="30%" align="right"> 网页meta关键字 </td>
      <td><input name="metaKeyword" type="text" id="metaKeyword" value="$!metaKeyword">
          <font color="red">*</font></td>
    </tr>
    <tr>
      <td width="30%" align="right"> 模板</td>
      <td><input name="template" type="text" id="template" value="$!template">
          <font color="red">*查看样板</font></td>
    </tr>
    <tr>
      <td width="30%" align="right"> 首页显示条数 </td>
      <td><input name="firtpageNum" type="text" id="firtpageNum" value="$!firtpageNum">
          <font color="red">*</font></td>
    </tr>
    <tr>
      <td width="30%" align="right"> 前台列表显示条数</td>
      <td><input name="listNum" type="text" id="listNum" value="$!listNum">
          <font color="red">*</font></td>
    </tr>
    <tr>
      <td width="30%" align="right"> 管理列表显示条数</td>
      <td><input name="manageListNum" type="text" id="manageListNum" value="$!manageListNum">
          <font color="red">*</font></td>
    </tr>
    <tr>
      <td width="30%" align="right"> 最新留言信息条数</td>
      <td><input name="newMessageNum" type="text" id="newMessageNum" value="$!newMessageNum">
          <font color="red">*</font></td>
    </tr>
    <tr>
      <td width="30%" align="right"> 阅读排行榜条数</td>
      <td><input name="topReadNum" type="text" id="topReadNum" value="$!topReadNum">
          <font color="red">*</font></td>
    </tr>
    <tr>
      <td width="30%" align="right"> 评论排行榜条数</td>
      <td><input name="topReviewNum" type="text" id="topReviewNum" value="$!topReviewNum">
          <font color="red">*</font></td>
    </tr>
    <tr>
      <td width="30%" align="right"> 允许评论</td>
      <td><input name="enableReview" type="text" id="enableReview" value="$!enableReview">
          <font color="red">*</font></td>
    </tr>
    <tr>
      <td width="30%" align="right"> 允许邮件通知</td>
      <td><input name="enableEmail" type="text" id="enableEmail" value="$!enableEmail">
          <font color="red">*</font></td>
    </tr>
    <tr>
      <td width="30%" align="right"> 首页是否显示内容</td>
      <td><input name="showContent" type="text" id="showContent" value="$!showContent">
          <font color="red">*</font></td>
    </tr>
    <tr>
      <td width="30%" align="right"> 显示文章累计数</td>
      <td><input name="totalNumDisplay" type="text" id="totalNumDisplay" value="$!totalNumDisplay">
          <font color="red">*</font></td>
    </tr>
    <tr>
      <td width="30%" align="right"> 编辑器类型</td>
      <td><input name="editorType" type="text" id="editorType" value="$!editorType">
          <font color="red">*</font></td>
    </tr>
    <tr>
      <td width="30%" align="right"> controlDisplay</td>
      <td><input name="controlDisplay" type="text" id="controlDisplay" value="$!controlDisplay">
          <font color="red">*</font></td>
    </tr>
    <tr>
      <td width="30%" align="right"> 加入日期</td>
      <td>$!inputtime</td>
    </tr>
    <tr>
      <td width="30%" align="right"> 访问数</td>
      <td>          $!readTimes</td>
    </tr>
    <tr>
      <td width="30%" align="right"> 状态</td>
      <td>$!status</td>
    </tr>
      </table></td>
    </tr>
<tr align="center">
      <td colspan="2"><input type="button" name="Submit" value="保存" onClick="doSave()">
　
  <input type="reset" name="Submit23" value="重置">
  　
  <input type="reset" name="Submit22" value="返回" onClick="history.go(-1);"> </td>
      </tr>
  </table>
</form>

    </td>
  </tr>
</table>
</body>
</html>
#if($msg)
<script>
alert('$!msg');
</script>
#end
